package org.drushpal.service
{
	import flash.events.Event;
	
	import org.drushpal.model.vo.Connection;
	import org.drushpal.service.connecter.Connecter;
	
	public class DrushServiceEvent extends Event
	{
		public static const ERROR:String = "drushError";
		
		public static const LIST:String = "listComplete" //pml has run
		public static const STATUS:String = "statusComplete"
		public static const CRON:String = "cron";
		public static const CACHE_CLEARED:String = "cache";
		
			
		private var _connecter:Connecter;
		public function DrushServiceEvent(type:String, con:Connecter=null,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_connecter=con;
			
		}
		
		public function get connecter():Connecter{
			return _connecter;
		}
		public function set connecter(value:Connecter):void{
			_connecter=value;
		}
	}
}